package com.dfbz.demo04_成员变量继承的特点;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo01 {
    public static void main(String[] args) {
        Zi zi = new Zi();

        zi.show();
    }
}

class Fu {
    int aaa = 100;
}

class Zi extends Fu {
    int aaa = 1000;

    public void show() {


        int aaa = 10000;
        System.out.println("方法aaa: " + aaa);
        System.out.println("子类中的aaa: " + this.aaa);
    }
}
